home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / strid.z / strid
Encoding:
Text File  |  2002-10-03  |  3.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSTTTTRRRRIIIIDDDD((((3333SSSS))))                                                            SSSSTTTTRRRRIIIIDDDD((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      STRID - compute the solution to a real system of linear equations A*x =
  10.      b, where A is an N-by-N tridiagonal matrix, and x and b are vectors of
  11.      length N
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE STRID( N, DL, D, DU, B )
  15.  
  16.          INTEGER       N
  17.  
  18.          REAL          DL( * ), D( * ), DU( * ), B( * )
  19.  
  20. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  21.      These routines are part of the SCSL Scientific Library and can be loaded
  22.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  23.      directs the linker to use the multi-processor version of the library.
  24.  
  25.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  26.      4 bytes (32 bits). Another version of SCSL is available in which integers
  27.      are 8 bytes (64 bits).  This version allows the user access to larger
  28.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  29.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  30.      only one of the two versions; 4-byte integer and 8-byte integer library
  31.      calls cannot be mixed.
  32.  
  33. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  34.      STRID computes the solution of a tridiagonal system of linear equations
  35.      A*x = b using a "burn-at-both-ends" algorithm.  NO PIVOTING FOR STABILITY
  36.      IS DONE.
  37.  
  38.  
  39. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  40.      N       (input) INTEGER
  41.              The order of the matrix A.  N >= 0.
  42.  
  43.      DL      (input/output) REAL array, dimension (N-1)
  44.              On entry, the (N-1) subdiagonal elements of the tridiagonal
  45.              matrix A.  On exit, DL is overwritten.
  46.  
  47.      D       (input/output) REAL array, dimension (N)
  48.              On entry, the N diagonal elements of the tridiagonal matrix A.
  49.              On exit, D is overwritten.
  50.  
  51.      DU      (input/output) REAL array, dimension (N-1)
  52.              On entry, the (N-1) superdiagonal elements of the tridiagonal
  53.              matrix A.  On exit, DU is overwritten.
  54.  
  55.      B       (input/output) REAL array, dimension (N)
  56.              On entry, the N-element right hand side vector b.  On exit, the
  57.              N-element solution vector x.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSTTTTRRRRIIIIDDDD((((3333SSSS))))                                                            SSSSTTTTRRRRIIIIDDDD((((3333SSSS))))
  71.  
  72.  
  73.  
  74. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  76.  
  77.      This man page is available only online.
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.